Rename PluginConfigProvider to PluginConfigFactory. The PluginConfigProvider was not a guice Provider. Since all classes named like ...Provider do implement the Provider<T> interface from guice, we can consider the naming of PluginConfigProvider as inconsistent. Change-Id: I83cbe47112865e293a7928b123d94d4b4a3839db
diff --git a/Documentation/dev-plugins.txt b/Documentation/dev-plugins.txt index c109294..f1046d3 100644 --- a/Documentation/dev-plugins.txt +++ b/Documentation/dev-plugins.txt
@@ -331,14 +331,14 @@ language = Latin ---- -Via the `com.google.gerrit.server.config.PluginConfigProvider` class a +Via the `com.google.gerrit.server.config.PluginConfigFactory` class a plugin can easily access its configuration and there is no need for a plugin to parse the `gerrit.config` file on its own: [source,java] ---- @Inject - private com.google.gerrit.server.config.PluginConfigProvider cfg; + private com.google.gerrit.server.config.PluginConfigFactory cfg; ...